package com.cloud.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.cloud.core.BaseService;
import com.cloud.dao.CrcBean;
import com.cloud.dao.impl.CrcDao;

/**
 * 1Cloud1
 * @author Administrator
 * @since 2016-1-17
 * @version 1.0 
 */
@Service("CrcService")
public class CrcService extends BaseService{
	
	@Autowired
	private CrcDao CrcDao;
	
	public List<CrcBean> queryCrcContact(CrcBean bean){
		return CrcDao.queryCrcContact(bean);
	}
	
	public List<CrcBean> getCrcList(CrcBean bean){
		return CrcDao.getCrcList(bean);
	}
	
	public void insertCrc(CrcBean bean){
		CrcDao.insertCrc(bean);
	}
	
	public void updateCrc(CrcBean bean){
		CrcDao.updateCrc(bean);
	}
}
